package com.gccloud.design.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gccloud.design.dto.BwpBusinessMgntUpdateSaveDto;
import com.gccloud.design.entity.BusinessMgntEntity;
import com.gccloud.starter.common.dto.SearchDTO;

import java.util.Map;

/**
 * 实现功能【业务逻辑业务层】
 *
 * @author hu.hongdou
 * @date 2022/2/21
 */
public interface BusinessMgntService extends IService<BusinessMgntEntity> {

    /**
     * 业务逻辑页面方法
     * */
    int saveBusinessMgnt(BwpBusinessMgntUpdateSaveDto bwpBusinessMgntSaveDto);

    Map<String,Object> getBusinessMgnt(Integer id, String logicName, SearchDTO searchDTO);

    int deleteBusinessMgnt(Integer id);

    int saveUpdateBusinessMgnt( BwpBusinessMgntUpdateSaveDto bwpBusinessMgntSaveDto);

}
